package com.example.webflux2.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "user")
@Data
public class User {

    @Id
    private String id;

    private String name;

    private int age;

    private String zjhm;

    private int sex;

}
